import { request5, request6 } from './request'

export function getCaptchas() {
  return request5({
    method: 'post'
  })
}

export function getLogin(username, password, captcha_code) {
  return request6({
    method: 'POST',
    data: {
      username,
      password,
      captcha_code,
    }
  })
}